package com.jarvis.du.androidlibrarypro;

import com.jarvis.du.androidlibrarypro.bean.WeatherVo;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

/**
 * Author: dyj
 * Date: 2018/11/20 17:55
 * E-mail: duyangjun1991@163.com
 */

public interface RetrofitApiInterface {
    @FormUrlEncoded
    @POST("http://op.juhe.cn/onebox/weather/query")
    Observable<WeatherVo> createUser(@FieldMap Map<String, String> map);
}
